﻿using System;
using System.Web;
using YAF.Classes.Core;
using YAF.Classes.Utils;

namespace YAF.Modules
{
    [YafModule("Mobile Theme Module", "Tiny Gecko", 1)]
    public class MobileThemeModule : IBaseModule
    {
        #region IBaseModule Members
        public object ForumControlObj
        {
            get;
            set;
        }

        public void Init()
        {
            YafContext.Current.AfterInit += Current_AfterInit;
        }

        public void Dispose()
        {
 
        }
        #endregion

        private void Current_AfterInit(object sender, EventArgs e)
        {
            if (HttpContext.Current != null && UserAgentHelper.IsMobileDevice(HttpContext.Current.Request.UserAgent))
            {
 
            }
        }
    }
}
